/* 
 * File:   drv_interrupts.h
 * Author: Omar Sevilla
 *
 * Created on 4 de diciembre de 2013, 01:55 AM
 */

#ifndef DRV_INTERRUPTS_H
#define	DRV_INTERRUPTS_H

#ifdef	__cplusplus
extern "C" {
#endif
#include "system.h"
#include "stdtypedef.h"
//Interrupts Defines
#define GLOBAL_INT          (char)(1 << 7)
#define HIGH_GLOBAL_INT     (char)(1 << 7)
#define PEIE_INT            (char)(1 << 6)

//P1 Interrupts Defines
#define TMR1_INT    (char)(1 << 0)

    extern void init_int(void);
#ifdef	__cplusplus
}
#endif

#endif	/* DRV_INTERRUPTS_H */

